import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 删除公司
 * /company/one/{id}
 */
export function deleteCompanyOneById(params: DeleteCompanyOneByIdParams) {
  return request.delete<DeepRequired<ResultVoid>>(`/company/one/${params.id}`)
}

interface DeleteCompanyOneByIdParams {
  id: number
}
